package table.model.rowModel;

import table.model.SimpleColumn;


public class ColumnDirection {
	
    public static final int DESCENDING = -1;
    public static final int NOT_SORTED = 0;
    public static final int ASCENDING = 1;
    
    public static ColumnDirection EMPTY_DIRECTIVE = new ColumnDirection(new SimpleColumn(), NOT_SORTED);
	
    private SimpleColumn column;
    private int direction;

    public ColumnDirection(SimpleColumn column, int direction) {
        this.column = column;
        this.direction = direction;
    }

	public SimpleColumn getColumn() {
		return column;
	}

	public void setColumn(SimpleColumn column) {
		this.column = column;
	}

	public int getDirection() {
		return direction;
	}

	public void setDirection(int direction) {
		this.direction = direction;
	}
}
